{% extends 'fanli.html' %}

{% block content-center %}
    <h3  class="page-header">hive job监控</h3>
    <div class='row'>
      <table class="table table-hover">
        <th>用户名</th>
        <th>job_id</th>
        <th>耗时（秒）</th>
        <th>maps 总数</th>
        <th>maps 已完成</th>
        <th>reduces 总数</th>
        <th>reduces 已完成</th>
        <th>name</th>

       {% for job in jobs%}
        <tr>
           <td> {{job.user}} </td>
           <td> <a target="_blank" href="http://192.168.3.171:8088/proxy/application_{{job.job_num}}/">{{job.id}}</a></td>
           <td> {{job.elapsedTime}}</td>
           <td> {{job.mapsTotal}}</td>
           <td> {{job.mapsCompleted}}</td>
           <td> {{job.reducesTotal}}</td>
           <td> {{job.reducesCompleted}}</td>
           <td> {{job.name}}</td>
        </tr>
        {%endfor%}
      </table>
    </div>
{% endblock %}